.win95-dialog {
  @include win95Bevel();
  max-width: 540px;
  padding: 2px;
  color: black;
  text-shadow: none;
  font-family: arial, verdana, sans-serif;
  line-height: 115%;
  box-shadow: rgba(0, 0, 0, 0.5) 5px 5px 0 0;

  ::selection {
    background: blue !important;
    color: white !important;
  }

  a {
    color: black;
    font-weight: normal;
    text-decoration-color: currentColor;
  }
}

.win95-dialog__button {
  @include win95Bevel();
  padding: 4px 5px;
  color: black;
  display: inline-block;
  cursor: pointer;
  box-shadow: black 1px 1px 0 2px;
  text-decoration: none;
  text-align: center;

  &:active {
    transform: translateY(2px);
    box-shadow: black 0 0 0 1px;
  }
}

.win95-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.35rem;
  padding: 0;
  box-shadow: none;
}

.win95-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px;
  font-weight: bold;
  background-color: $color-win95-header-bg;
  color: white;
}

.win95-dialog__body {
  display: flex;
  align-items: flex-start;
}

.win95-dialog__body__icon {
  flex-shrink: 0;
  flex-grow: 0;
  margin: 1rem;
  width: 50px;
  height: 50px;
}

.win95-dialog__body__content {
  margin: 1rem 1rem 1rem 0;
}

.win95-dialog__footer {
  display: flex;
  justify-content: center;
  margin: 1rem;

  > * {
    margin: 0 0.5rem;
    min-width: 100px;
  }
}